package com.ruoyi.assemble.fastloader.mapper;

import com.ruoyi.assemble.fastloader.model.TChunkInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

/**
 * @description TChunkInfoMapper
 * @author 
 * @time 2022/8/31 15:44
 */
@Mapper
public interface TChunkInfoMapper {
    /**
     * deleteByPrimaryKey
     *
     * @author 
     * @description deleteByPrimaryKey
     * @time 2022/8/31 15:44
     * @param id
     * @return int
     */
    int deleteByPrimaryKey(String id);

    /**
     * insert
     *
     * @author 
     * @description insert
     * @time 2022/8/31 15:44
     * @param record
     * @return int
     */
    int insert(TChunkInfo record);

    /**
     * insertSelective
     *
     * @author 
     * @description insertSelective
     * @time 2022/8/31 15:44
     * @param record
     * @return int
     */
    int insertSelective(TChunkInfo record);

    /**
     * selectByPrimaryKey
     *
     * @author 
     * @description selectByPrimaryKey
     * @time 2022/8/31 15:44
     * @param id
     * @return cn.fastloader.web.model.TChunkInfo
     */
    TChunkInfo selectByPrimaryKey(String id);

    /**
     * updateByPrimaryKeySelective
     *
     * @author 
     * @description updateByPrimaryKeySelective
     * @time 2022/8/31 15:44
     * @param record
     * @return int
     */
    int updateByPrimaryKeySelective(TChunkInfo record);

    /**
     * updateByPrimaryKey
     *
     * @author 
     * @description updateByPrimaryKey
     * @time 2022/8/31 15:44
     * @param record
     * @return int
     */
    int updateByPrimaryKey(TChunkInfo record);

    /**
     * selectChunkNumbers
     *
     * @author 
     * @description selectChunkNumbers
     * @time 2022/8/31 15:51
 * @param record
     * @return java.util.ArrayList<java.lang.Integer>
     */
    ArrayList<Integer> selectChunkNumbers(TChunkInfo record);
}